package com.ztmg.water.mapper.water;

import com.ztmg.water.model.water.WaterTicket;
import com.ztmg.water.model.water.WaterTicketExample;
import java.util.List;

import com.ztmg.water.vo.water.WaterTicketListVO;
import org.apache.ibatis.annotations.Param;

public interface WaterTicketMapper {
    long countByExample(WaterTicketExample example);

    int deleteByExample(WaterTicketExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WaterTicket record);

    int insertSelective(WaterTicket record);

    List<WaterTicket> selectByExample(WaterTicketExample example);

    WaterTicket selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WaterTicket record, @Param("example") WaterTicketExample example);

    int updateByExample(@Param("record") WaterTicket record, @Param("example") WaterTicketExample example);

    int updateByPrimaryKeySelective(WaterTicket record);

    int updateByPrimaryKey(WaterTicket record);

    List<WaterTicketListVO> selectWaterTicketList(WaterTicketExample example);

}